using System;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Divan;

namespace SurveySharp.Model
{
	public class SurveyDefinition
	{
		public SurveyDefinition ()
		{
			
			Id = Guid.NewGuid().ToString();
			CreationDate = DateTime.Now;
			//Version = 1;
		}
		
		#region Base Properties
		
		public string Id { get; set; }
		//public string _id { get; set; }
		//public string _rev { get; set; }
		
		public string Name { get; set; }
		
		//[JsonConverter(typeof(IsoDateTimeConverter))]
		public DateTime CreationDate { get; set; }
		
		//public int Version { get; set; }
		
		#endregion
		
	}
}
